<template>
  <div>home</div>
</template>

<script setup lang="ts">
//引入组合式API函数之生命周期函数
import { onMounted } from 'vue'

import { useUserStore } from '@/store/modules/user3'
let store = useUserStore()

//目前首页挂载完毕发请求获取用户信息
onMounted(() => {
  store.getUserInfo()
})
</script>

<style scoped></style>
